﻿Imports System
Imports System.Web
Imports System.Web.UI
Imports DotNetNuke
Namespace NVPortal.Modules.NVTuyenDung

    Public MustInherit Class inc_list
        Inherits Entities.Modules.PortalModuleBase

#Region "Controls"
#End Region

#Region "Event Handlers"
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            '
            If Not IsPostBack Then
                Try
                    BindGridData()
                    Me.lbtAddTop.NavigateUrl = "/tabid/" & TabId & "/view/add/index.htm"
                    Me.hplbottom.NavigateUrl = "/tabid/" & TabId & "/view/add/index.htm"
                Catch ex As Exception
                    ProcessModuleLoadException(Me, ex)
                End Try
            End If
        End Sub
#End Region

        Private Sub BindGridData()
            Dim ctlVideos As New NVTuyenDung_CongtyController
            Me.drgViewData.DataSource = ctlVideos.NV_TuyenDung_Cty_GetAll(PortalId)
            Me.drgViewData.DataBind()
        End Sub
    End Class

End Namespace
